package day20170414.homework.entity;

public class StudentEntity {
	/**
	 * 学生名字
	 */
	private String name;
	
	/**
	 * 学生身份证
	 */
	private String idCard;
	
	/**
	 * 学生年龄
	 */
	private int age;
	
	/**
	 * 学生成绩
	 */
	private double score;
	
	/**
	 * 学生性别
	 */
	private char sex;
	
	/**
	 * 学生手机号
	 */
	private String phone;
	
	/**
	 * 学生密码
	 */
	private String password;
	
	/**
	 * 重写toString
	 */
	@Override
	public String toString() {
		return "StudentEntity [name=" + name + ", idCard=" + idCard + ", age=" + age + ", score=" + score + ", sex="
				+ sex + ", phone=" + phone + ", password=" + password + "]";
	}
	

	/**
	 * set/get
	 * @return
	 */
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public double getScore() {
		return score;
	}

	public void setScore(double score) {
		this.score = score;
	}

	public char getSex() {
		return sex;
	}

	public void setSex(char sex) {
		this.sex = sex;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
